-
Home
-
Classified Listing – Classified ads & Business Directory Plugin
-
2.4.3
-
Code
-
Classes
- BusinessHoursController
Total Complexity |
134 |
Dependencies |
4 |
Dependents |
2 |
Total lines |
488 |
Lines of code |
333 |
Logical lines of code |
188 |
Comment lines |
86 |
Methods |
19 |
Properties |
2 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
sanitize_business_hours() |
C |
38 |
32 |
65 |
save_business_hours() |
B |
47 |
17 |
33 |
get_business_hours() |
A |
50 |
13 |
26 |
update_business_hours_at_save_or_update() |
A |
54 |
12 |
19 |
openStatus() |
A |
54 |
10 |
19 |
init() |
S |
50 |
6 |
26 |
openToday() |
S |
61 |
6 |
12 |
display_business_hours() |
S |
50 |
5 |
26 |
isOpen() |
S |
61 |
5 |
11 |
business_hours_form() |
S |
64 |
5 |
8 |
business_hours_meta_box() |
S |
63 |
5 |
9 |
openPeriod() |
S |
71 |
4 |
5 |
enqueue_admin_script() |
S |
62 |
3 |
11 |
register_script() |
S |
50 |
1 |
31 |
hasOpenHours() |
S |
70 |
3 |
6 |
isOpenAllDayLong() |
S |
70 |
3 |
6 |
enqueue_script() |
S |
72 |
2 |
6 |
add_meta_box_classes() |
S |
76 |
1 |
4 |
add_business_hours_meta_box() |
S |
65 |
1 |
10 |